﻿using System;
using System.Collections.Generic;
using System.Web.Mvc;

namespace DTTB.MV2.QUANLYNHANSUTIENLUONG.Models.FormBean.ChamCongModel
{
    public class BangChamCongForm
    {
        public BangChamCongForm()
        {
            Pagenumber = 1;
            Nam = DateTime.Now.Year;
            Thang = DateTime.Now.Month;
            SelectListNam = new SelectList(new List<object> {new {Value = Nam, Text = Nam}}, "Value", "Text");
            SelectListThang = new SelectList(new List<object> {new {Value = Thang, Text = Thang}}, "Value", "Text");
        }

        public int Id { get; set; }
        public int Thang { get; set; }
        public int Nam { get; set; }
        public string HoTenNguoiLapBieu { get; set; }
        public string HoTenNguoiKy { get; set; }
        public string ChucVuNguoiKy { get; set; }
        public string NgayKy { get; set; }
        public string GhiChu { get; set; }
        public int? NguoiTao { get; set; }
        public string NgayTao { get; set; }
        public int? NguoiSua { get; set; }
        public string NgaySua { get; set; }
        public bool IsLock { get; set; }
        public bool IsFinish { get; set; }

        public string HoTenNguoiTao { get; set; }
        public string HoTenNguoiSua { get; set; }

        public IList<BangChamCongForm> ListBangChamCong { get; set; }
        /// <summary>
        /// Select List Năm
        /// </summary>
        public SelectList SelectListNam { get; set; }
        /// <summary>
        /// Select List Tháng Trong Năm
        /// </summary>
        public SelectList SelectListThang { get; set; }
        public int Pagenumber { get; set; }
        public string MessageError { get; set; }
        public string MessageSuccess { get; set; }
    }
}